package me.spring.cloud.common.components.oauth2.exception;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import me.spring.cloud.common.components.oauth2.exception.serializer.CustomOauthExceptionSerializer;
import org.springframework.security.oauth2.common.exceptions.OAuth2Exception;

/**
 * @description:
 * @author: luffy
 * @create: 2018-09-17 14:07
 **/
@JsonSerialize(using = CustomOauthExceptionSerializer.class)
public class CustomOauthException extends OAuth2Exception {

  public CustomOauthException(String msg) {
    super(msg);
  }
}
